package com.relytosoft.mizar.media.camera.services.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.relytosoft.mizar.media.camera.api.entity.CameraChannelOsd;
import com.relytosoft.mizar.media.external.api.camera.response.OSDDto;
import com.relytosoft.mizar.media.external.api.camera.response.PreviewFrameDto;
import com.relytosoft.mizar.media.external.api.camera.response.ShowStringParams;
import com.relytosoft.mizar.media.external.api.camera.response.VideoStringDto;

import java.util.List;

/**
 * @author lj
 */
public interface CameraChannelOsdService extends IService<CameraChannelOsd> {

    OSDDto getOsdInfo(String cameraIndexCode);

    VideoStringDto showVideoString(String cameraIndexCode);

    PreviewFrameDto previewFrame(String cameraIndexCode);

    boolean setOsd(OSDDto osddto);

    boolean setOverlayString(String cameraIndexCode, List<ShowStringParams> showStringParamsList);

    boolean setPreview(PreviewFrameDto previewFrameDTO);
}

